import request from '@/utils/request'

// 查询解决方案端口列表
export function listSolutionport(query) {
  return request({
    url: '/tianqi/solutionport/list',
    method: 'get',
    params: query
  })
}

// 查询解决方案端口详细
export function getSolutionport(id) {
  return request({
    url: '/tianqi/solutionport/' + id,
    method: 'get'
  })
}

// 新增解决方案端口
export function addSolutionport(data) {
  return request({
    url: '/tianqi/solutionport',
    method: 'post',
    data: data
  })
}

// 修改解决方案端口
export function updateSolutionport(data) {
  return request({
    url: '/tianqi/solutionport',
    method: 'put',
    data: data
  })
}

// 删除解决方案端口
export function delSolutionport(id) {
  return request({
    url: '/tianqi/solutionport/' + id,
    method: 'delete'
  })
}
